import { Component, OnInit } from '@angular/core';
import { Router} from '@angular/router';

@Component({
  selector: 'app-reader-home',
  templateUrl: './reader-home.component.html',
  styleUrls: ['./reader-home.component.css']
})
export class ReaderHomeComponent implements OnInit {

  constructor(private router: Router) { }                                          

  onClickToSearch() {
    this.router.navigate(['login/master/search']);
  }
  onClickToReturn() {
    this.router.navigate(['login/reader/return']);
  }
  onClickSecondLend() {
    this.router.navigate(['login/reader/secondlend']);
  }
  ngOnInit() {}

}
